package filters;

import interfaces.IMap;

public class InvertFilter implements IFilter
{
	
	public InvertFilter()
	{
		
	}

	@Override
	public int ApplyFilter(int Px, int Py, IMap map) 
	{
		int cur = (map.Get(Px,Py));
		
		return 255-cur;
	}
	
}